@import "publicCss.css";

html{
    font-size: 62.5%;
    color: #757575;
    font-family: '微软雅黑';
}

/* web端 */
/* 时间端 */
.webHeader_nav{
    background-color: rgb(224,224,224);
    line-height: 4rem;
    display: inline-block;
    width: 100%;
    padding: 0px 14rem;
    box-sizing: border-box;
}

.webHeader_nav_div{
    display: inline-block;
    margin-left:4rem;
}

.welcome{
    display: inline-block;
    margin-left:1rem;
}

.webHeader_nav_div2{
    float: right;
}

.webHeader_nav_div2 a{
    text-decoration: unset;
    margin: 1rem;
}

/* 图片和导航 */
.webHeader_nav2{
    background-image: url('../img/pubilc/bj.jpg');
    background-repeat: no-repeat;
    background-size:100%;
    width:100%;
    display: flex;
    align-items:center;
    justify-content: center;
    flex-direction:column;
    padding-bottom: 2rem;
}

.webHeader_nav2_img{
    width: 9rem;
    margin: 1rem;
}

.webHeader_nav2_ul{
    /* 样式 */
    width: 100%;
    /* 布局 */
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
}

.webHeader_nav2_ul li{
   margin:0 4rem;
}

.webHeader_nav2_ul a{
    text-decoration: unset;
    color: #757575;
    font-size:1.4rem ;
}



/* 移动端 */
.phoneHeader{
    display: none;
}

/* 头部 */
.phoneHeader_nav{
    display: flex;
    justify-content: space-between;
    align-items:center;
    padding: 0px 20px;
    background:rgb(247,247,247);
}

.phoneHeader_nav a{
    text-decoration: none;
}

.phoneHeader_nav img{
    width: 60px;
}


/* 侧边栏 */
.phoneHeader_nav2{
    display: none;
    width: 100VW;
    height: 100VH;
    background: rgba(1,1,1,0.2);
    position: fixed;
    top: 0px;
    left: 0px;
    bottom: 0px;
    z-index: 2;
}

.phoneHeader_in{
    width: 30VW;
    height: 100VH;
    background: #fff;
    position: relative;
    z-index: 2;
}

.phoneHeader_in a{
    text-decoration: none;
    font-size:1.3rem ;
    color: #565656;
    font-weight: normal;
    font-family: '宋体';
}

.phoneHeader_in div{
    width: 100%;
    padding: 20px 0px;
    text-align: center;
}

.phoneHeader_in_a{
    width: 100%;
    padding:0px 15% ;
}

.phoneHeader_ul{
    margin: 0px;
    padding: 0px;
    list-style: none;

}

.phoneHeader_ul li{
    margin: 20px;
}

/* 响应式 */
@media only screen and (max-width: 50em){
    .webHeader{
        display: none;
    }
    .phoneHeader{
        display: block;
    }
}
@media only screen and (max-width: 30em){
    .phoneHeader_in_a{
        padding:0px 10% ;
    }
}

/* 购物车 */

.carImg{
    position: relative;
}

.allnumber{
    background: #ff7272;
    border-radius: 50%;
    width: 1.3rem;
    height: 1.3rem;
    color: whitesmoke;
    text-align: center;
    line-height: 1.3rem;
    font-size: 1rem;
    /* 定位 */
    position: absolute;
    transform: translateX(2rem);
    opacity: 0;
}

.headersidebar{
    background-color: #fff;
    position: absolute;
    transform: translate(-20rem,0rem);
    -webkit-transform: translate(-20rem,0rem);
    -moz-transform: translate(-20rem,0rem);
    -ms-transform: translate(-20rem,0rem);
    -o-transform: translate(-20rem,0rem);
    z-index: 3;
    width: 33rem;
    /* 定位 */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    display: none;
}

.headerbottomDiv{
    width: 33rem;
}

.headercartUl{
    margin-top:0px!important ;
}
